<template>
	<g-main>
	<button @tap="onTapC1" class="margin-top-lg  cu-btn line-grey lg round ">测试跳转</button>
	
	<navigator class="margin-top-lg  cu-btn line-grey lg round" url="/views/pages/test">测试跳转2</navigator>
	
	<h1 class="text-3xl font-bold underline">
	  Hello world!
	</h1>
	
	<div translate="no" class="py-2 pr-2 font-mono font-medium text-xs leading-6 text-sky-500 whitespace-nowrap dark:text-sky-400">
		scroll-auto
	</div>
	
	<p class="text-2xl hover:text-base">The quick brown fox ...</p>
	</g-main>
</template>


<script setup>
	import { onMounted } from 'vue'
	import { onLoad } from '@dcloudio/uni-app';
	
	onLoad((options) => {
		//console.log('test', options)
	})
	
	function onTapC1(e){
		
		uni.navigateTo({
			url:"/views/pages/test?id=1"
		})
	}
</script>

<style>
</style>